package com.example.systemservice.feign;

import com.example.systemservice.feign.factory.RemoteUserFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "user-data-service", path = "api/user", fallbackFactory = RemoteUserFallbackFactory.class)
public interface RemoteUserService {

    @RequestMapping("/info")
    Object userInfo();

}
